package com.introduce.extract;

/**
 * 重构前的主体代码：
 *
 * @author: cong zhi
 * @createDate: 2022/5/10 8:39
 * @updateUser: cong zhi
 * @updateDate: 2022/5/10 8:39
 * @updateRemark: 修改内容
 * @version: v1.0
 */
public class PaymentHistory implements Nullable {

    public int getWeeksDelinquentInLastYear(){
        return 0;
    };

    public PaymentHistory() {
        getWeeksDelinquentInLastYear();

    }

    public static PaymentHistory newNull() {
        return new NullPaymentHistory();
    }

    @Override
    public boolean isNull() {
        return false;
    }
}
